<template>
	<view class="content">
		<h2>这里是标题</h2>

		<view class="editor">
			比赛详情编辑器内容
		</view>

		<view class="sign">
			<view class="sign_inner">
				<u-button color="#00B5C3" text="立即报名" @tap="gotopage"></u-button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				game_id:""
			}
		},
		onLoad(options) {
			this.game_id = options.game_id
		},
		methods: {
			gotopage() {
				uni.navigateTo({
					url: '/pages/subpages/index/agree?game_id=' + this.game_id
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		width: 96%;
		margin: 0 auto;
	}
	h2 {
		text-align: center;
		font-size: 14px;
		margin: 20px 0;
	}

	.sign {
		position: fixed;
		bottom: 0px;
		background-color: #fff;
		width: 96%;
		z-index: 99;
	}

	.sign_inner {
		width: 100%;
		margin: 0 0% 10px 0%;
	}

</style>
